<template>
  <div class="widget">
    <el-checkbox v-model="content.defaultValue"  @change="sendValue">
      <span class="widget-white-word">{{ content.display_name }}</span>
    </el-checkbox>
  </div>
</template>
<script>

export default {
  props: { },
  data() {
    return {
      content: {}
    };
  },
  methods: {
    sendValue () {
      this.$EventBus.$emit('defaultValue', this.content)
      console.log(this.content)
    }
    
  },
  mounted () {
    
  }
};
</script>

<style lang="less" scoped>

</style>
